function supports_audio(){
 	return !!document.createElement('audio').canPlayType;
}
function supports_audio_mp3(){
 	if(supports_audio()){
		var a = document.createElement('audio');
		return a.canPlayType('audio/mpeg;');
	}
	return "";
	////return one of probably\maybe\"";
}
function supports_audio_vorbis(){
 	if(supports_audio()){
		var a = document.createElement('audio');
		return a.canPlayType('audio/ogg;codecs="vorbis"');
	}
	return "";
}
function supports_audio_pcm(){
 	if(supports_audio()){
		var a = document.createElement('audio');
		return a.canPlayType('audio/wav;codecs="1"');
	}
	return "";///各种找不到pcm，原来就是wav！！！
}
function supports_audio_aac(){
 	if(supports_audio()){
		var a = document.createElement('audio');
		return a.canPlayType('audio/mp4;codecs="mp4a.40.2"');
	}
	return "";
}
function supports_audio_webm(){
 	if(supports_audio()){
		var a = document.createElement('audio');
		return a.canPlayType('audio/webm;codecs="vorbis"');
	}
	return "";
}
function start_audio_test(container) {
	console.log(container);
	
	htmlContent = "Audio Element: " + (supports_audio() ? " yes" : " no") + "<br/>";
	htmlContent += "PCM Support:" + (supports_audio_pcm()!="" ? " yes" : " no") + "<br/>";
	htmlContent += "MP3 Support:" + (supports_audio_mp3()!="" ? " yes" : " no") + "<br/>";
	htmlContent += "AAC Support:" + (supports_audio_aac()!="" ? " yes" : " no") + "<br/>";
	htmlContent += "Ogg Vorbis Support:" + (upports_audio_vorbis()!=""? " yes" : " no") + "<br/>";
	htmlContent += "WebM Support:" + (supports_audio_webm()!="" ? " yes" : " no") + "<br/>";
	
	container.html(htmlContent);
}